<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./slider.css">
    <script src="./jquery-3.4.1.js"></script>
    <script src="./Slider.js"></script>
</head>

<body>
    <div class="box">
        <div class="left">
            <img src="./Snip20191231_53.png">
        </div>
        <div class="right"></div>
    </div>

    <script>
        $(() => {
            $.ajax({
                type: "get",
                url: "./server/01-getData.php",
                dataType: "json",
                success: function(response) {
                    let slider = new Slider(response);
                    slider.init();
                }
            });
        })
    </script>
</body>

</html>